package com.itheima.api.client.blog;

import com.itheima.api.client.dto.LogStateDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("blog-search")
public interface BlogSearch {
    @GetMapping("/updateStatus")
    public boolean updateStatus(@RequestBody LogStateDTO logStateDTo);

}
